package com.dd.service;

import com.dd.entity.Employee;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EmployeeService {

    /**
     * 获取全部员工信息
     * @return
     */
    List<Employee> getAllEmployee();

    /**
     * 新增员工
     */
    int saveEmployee(Employee employee);

    /**
     * 分页查询
     */
    PageInfo<Employee> getPage(Integer pageNum);
}
